﻿@model Infinity.Models.Instructor

@{
    ViewBag.Title = "Create";
    Layout = "~/Areas/Managerial/Views/Shared/_AdminLayout.cshtml";
}

<h2>Create</h2>

@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>Instructor</legend>

        <div class="editor-label">
            <span class="input input--jiro">
                            <input class="input__field input__field--jiro" type="text" id="InsructorID" name="InsructorID" />
                            <label class="input__label input__label--jiro" for="input-10">
                                <span class="input__label-content input__label-content--jiro">Insructor ID <span class="star"></span></span>
                            </label>

                        </span>
            @Html.ValidationMessageFor(model => model.InsructorID,"*")
              </div>
                        <br>
         <div class="editor-label">
            <span class="input input--jiro">
                            <input class="input__field input__field--jiro" type="text" id="Name" name="Name" />
                            <label class="input__label input__label--jiro" for="input-10">
                                <span class="input__label-content input__label-content--jiro"> Name <span class="star"></span></span>
                            </label>

                        </span>
           @Html.ValidationMessageFor(model => model.Name,"*")
              </div>
                        <br>
                       <br>
         <div class="editor-label">
            <span class="input input--jiro">
                            <input class="input__field input__field--jiro" type="text" id="Phone" name="Phone" />
                            <label class="input__label input__label--jiro" for="input-10">
                                <span class="input__label-content input__label-content--jiro">Phone <span class="star"></span></span>
                            </label>

                        </span>
          @Html.ValidationMessageFor(model => model.Phone,"*")
              </div>
                        <br>
                       <br>
         <div class="editor-label">
            <span class="input input--jiro">
                            <input class="input__field input__field--jiro" type="text" id="Address" name="Address" />
                            <label class="input__label input__label--jiro" for="input-10">
                                <span class="input__label-content input__label-content--jiro">Address <span class="star"></span></span>
                            </label>

                        </span>
          @Html.ValidationMessageFor(model => model.Address,"*")
              </div>
                        <br>
        <div class="editor-label">
            <span class="input input--jiro">
                            <input class="input__field input__field--jiro" type="text" id="Mail" name="Mail" />
                            <label class="input__label input__label--jiro" for="input-10">
                                <span class="input__label-content input__label-content--jiro">Mail <span class="star"></span></span>
                            </label>

                        </span>
          @Html.ValidationMessageFor(model => model.Mail,"*")
              </div>
                        
         <!--tab-->

                    <div role="tabpanel" class="padding-90">

                        <!-- Nav tabs -->
                        <ul class="nav nav-tabs" role="tablist">
                            <li role="presentation" class="active"><a href="#home" aria-controls="home" role="tab" data-toggle="tab">Salary</a></li>

                        </ul>

                        <!-- Tab panes -->
                        <div class="tab-content">
                            <div role="tabpanel" class="tab-pane active" id="home">
                                <div class="row">
                                    <div class="col-md-4">
                                        <span class="input input--jiro">
                                            <select class="input__field input__field--jiro"  id="input-19" >
                                                <option>

                                                </option>
                                                <option>
                                                    English
                                                </option>
                                                <option>
                                                    Arabic
                                                </option>
                                                <option>
                                                    Italy
                                                </option>
                                            </select>

                                            <label class="input__label input__label--jiro" for="input-19">
                                                <span class="input__label-content input__label-content--jiro">Course&nbsp;<i class="caret"></i>&nbsp;</span>
                                            </label>
                                        </span>
                                    </div>
                                    <div class="col-md-4">
                                        <span class="input input--jiro">
                                            <select class="input__field input__field--jiro"  id="input-20" >
                                                <option>

                                                </option>
                                                <option>
                                                    English
                                                </option>
                                                <option>
                                                    Arabic
                                                </option>
                                                <option>
                                                    Italy
                                                </option>
                                            </select>

                                            <label class="input__label input__label--jiro" for="input-20">
                                                <span class="input__label-content input__label-content--jiro">Payment Method&nbsp;<i class="caret"></i>&nbsp;</span>
                                            </label>
                                        </span>
                                    </div>
                                    <div class="col-md-4">
                                        <span class="input input--jiro">
                                            <input class="input__field input__field--jiro" type="text" id="input-21" />
                                            <label class="input__label input__label--jiro" for="input-21">
                                                <span class="input__label-content input__label-content--jiro">Value</span>
                                            </label>
                                        </span>
                                    </div>
                                    <br>
                                    <div class="col-md-12 text-center send3" >
                                        <input type="submit" value="ADD INSTRUCTOR"  class="send"/>
                                    </div>
                                </div>
                            </div>
         <p>

            @Html.ValidationSummary(false,"Please fix the errors then submit ")
        </p>
       <div>
           <table>
               <tr>
                   <td>
                        <a href="@Url.Action("Index", "Instructor")" class="buttonstyle">BacK to list</a>
                   </td>
               </tr>
           </table>
   
   </div>
    </fieldset>
    
}






           @* @Html.LabelFor(model => model.InsructorID)
        
        <div class="editor-field">
            @Html.EditorFor(model => model.InsructorID)
            @Html.ValidationMessageFor(model => model.InsructorID,"*")
        </div>*@

        @*<div class="editor-label">
            @Html.LabelFor(model => model.Name)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Name)
            @Html.ValidationMessageFor(model => model.Name,"*")
        </div>*@
        @* <div class="editor-label">
            @Html.LabelFor(model => model.Phone)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Phone)
            @Html.ValidationMessageFor(model => model.Phone,"*")
        </div>*@

       @* <div class="editor-label">
            @Html.LabelFor(model => model.Address)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Address)
            @Html.ValidationMessageFor(model => model.Address,"*")
        </div>*@

        @*<div class="editor-label">
            @Html.LabelFor(model => model.Mail)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Mail)
            @Html.ValidationMessageFor(model => model.Mail,"*")
        </div>*@
       